package poker.logic;

public abstract class AbstractHandConfiguration {

	protected AbstractHandConfiguration parentConfig;
	protected int rank;
	
	public void setParentConfig(AbstractHandConfiguration p){
		parentConfig = p;
	}	
	
	public AbstractHandConfiguration getParentConfig(){
		return parentConfig;
	}
	
	public abstract boolean checkIfIsParent(AbstractHandConfiguration p2Check);

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}
}
